package bank;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author tank
 */
public class BankAccount {
  public String AccountName;
    public int AccountNumber;
    public   double Amount;





    public  BankAccount(String AccountName,int AccountNumber,double Amount)
    {
        this.AccountName=AccountName;
        this.AccountNumber=AccountNumber;
        this.Amount=Amount;
    }

    BankAccount() {

    }

    public String getAccountName() {
        return AccountName;
    }

    public int getAccountNumber() {
        return AccountNumber;
    }

    public double getAmount() {
        return Amount;
    }

    BankAccount(int AccountNumber, String AccountName, double Amount) {
        this.AccountName=AccountName;
        this.AccountNumber=AccountNumber;
        this.Amount=Amount;
    }

    BankAccount(String string, String string0) {
        throw new UnsupportedOperationException("Not yet implemented");
    }


    public void Start()
    {
       System.out.println("***** Welcome to our bank system *****");
       System.out.println("******* Please follow the menu *******");
       System.out.println("Please enter the correct type and values otherwise the program may crash!");
    }

    public void  Menu()
    {
         System.out.println("**** Main menu ****");
          System.out.println("1. Create a new account");
           System.out.println("2. Deposit/Withdraw");
            System.out.println("3. Delete an account");
             System.out.println("4. View one account");
              System.out.println("5. View all the accounts");
              System.out.println("6. Quit");

    }
    public void EnterAccountName()
    {

       System.out.println("You have chosen to create a new account ");
       System.out.println("Enter the name of the account holder ");
    }
    public void EnterAccountNumber()
    {
         System.out.println("Enter the account no.");

    }
    public void EnterInitNumber()
    {
        System.out.println("Enter the initiating amount");
    }
    public void Transfer()
    {
       System.out.println("To transfer within the bank accounts press 1");
        System.out.println("To transfer from/to external banks press 2");
    }
     public void viewProperties() {
        System.out.println("Account Number:" + AccountNumber);
        System.out.println("Account Holder:" + AccountName);
        System.out.println("Amount:" + Amount);
    }

    public void End()
    {
       System.out.println("GoodBye!");
    }
}




